using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebApp.Models
{
    public class REL_Gruppo_Ingrediente
    {
        [Key]
        public Guid Guid { get; set; }
        public Byte[] Timestamp { get; set; }
        public Guid Famiglia { get; set; }
        public Guid Ingrediente { get; set; }
        public Decimal? Prezzo { get; set; }
        [ForeignKey("Famiglia")]
        public virtual ENT_Gruppo ENT_Gruppo { get; set; }
        [ForeignKey("Ingrediente")]
        public virtual ENT_Ingrediente ENT_Ingrediente { get; set; }
    }
    
}
